<?php

namespace Rblog\Module\Index\Controller;

class Common extends \Rexzy\App\Controller {
    
    
    
    /**
     * 构造函数先判断是否登录，否则跳转到登录页面
     */
    public function __construct() {
        parent::__contruct();
        $userLib = new \Rblog\Module\Admin\Lib\User();
        $this->view->assign( 'islogged', $userLib->isLogged() );
    }
}
